package com.assignwork.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TrainComprehensiveStatisticsVO {

    @ApiModelProperty(name = "loadType")
    @Excel(name = "装卸", orderNum = "1", type = 1, width = 15)

    private String loadType;


    @Excel(name = "计划时间", orderNum = "1", type = 1, width = 15, format = "yyyy-MM-dd")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @ApiModelProperty(name = "计划时间")
    private Date planDate;
//    private Date workDate;

    @ApiModelProperty(name = "货类")
    @Excel(name = "货类", orderNum = "1", type = 1, width = 20)
    private String cargoTypeName;

    @Excel(name = "车数", orderNum = "1", type = 1, width = 10)
    @ApiModelProperty(name = "车数")
    private BigDecimal coachCount;


    @Excel(name = "吨数", orderNum = "1", type = 1, width = 10)
    @ApiModelProperty(name = "吨数")
    private BigDecimal totalTon;

    @Excel(name = "时间（小时）", orderNum = "1", type = 1, width = 15)
    @ApiModelProperty(name = "时间（小时）")
    private BigDecimal sj;

    @Excel(name = "站点", orderNum = "1", type = 1, width = 10)
    @ApiModelProperty(name = "站点")
    private BigDecimal zd;

    @ApiModelProperty(name = "货类代码")
    private String cargoType;

    @ApiModelProperty(name = "求和时间（小时）")
    private BigDecimal sumSj;

    @ApiModelProperty(name = "求和站点")
    private BigDecimal sumZd;

    @ApiModelProperty(name = "求和吨数")
    private BigDecimal sumDs;

    @ApiModelProperty(name = "求和车数")
    private BigDecimal sumCs;

    @ApiModelProperty(name = "装车车数")
    private BigDecimal coachCountX;

    @ApiModelProperty(name = "卸车车数")
    private BigDecimal coachCountZ;

    @ApiModelProperty(name = "日均车数总和")
    private BigDecimal rjSum;

    @ApiModelProperty(name = "日均装车数")
    private BigDecimal rjZ;
    @ApiModelProperty(name = "日均卸车数")
    private BigDecimal rjX;

    @ApiModelProperty(name = "日均卸车数")
    private BigDecimal ts;

}
